-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tools: extend timeout for doc build version fetch #32511
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, although imo we really really should not be doing this at all, or at least cache the results for a minute or two so that make test
/make doc
doesn’t request the same files 30 times from GitHub over and over.
yes, I was going to open another issue about that, it's really tedious to watch this in action and when you imagine all those requests spread across our CI for each file then it's not really fair to GitHub (although I'm sure they can handle it!) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as a temporary solution to at least stop CI from failing.
Honestly seems like we could avoid this problem all together by keeping a list of supported versions in the source rather than hitting the nework for this
@MylesBorins That’s what the tool falls back to when no network is available – but it intentionally tries to fetch from upstream first because the local copy in the source tree might be outdated (e.g. when on older branches) |
As I have a day off work today I've had some time to finish off a refactoring of the previous versions logic and submitted #32518 which should help (also bumped the timeout in that to match what's been PR'ed here). |
fixed in #32518 I think |
5s is too short, one of our CI CentOS 7 machines fails on this, @MylesBorins noted that it regularly happens when he's doing releases. I don't know why this machine has problems (I'm updating it and restarting it atm) with a 5s timeout but it does.
Confirmed on that machine that extending the timeout gets it through
doc-only
.Is 30s too much? The timeout is there to handle the no-internet case.